package org.iabako.shared.entity.enumeration;

import org.iabako.client.tools.Messages;

/**
 * Created by jose on 21/01/15.
 */
public enum FinancialStatusClient implements ImageEnum {

    _1_inDebt("", "client_status_in_debt_title", "statusKO"),
    _2_withFutureInstallments("", "client_status_with_future_installments_title", "statuswithfutureinstallments"),
    _3_OK("", "client_status_ok_title", "statusOK");

    String labelKey;
    String titleKey;
    String className;

    private FinancialStatusClient(String labelKey, String titleKey, String className) {
        this.labelKey = labelKey;
        this.titleKey = titleKey;
        this.className = className;
    }

    public String getLabel() {
        return Messages.getLabel(labelKey);
    }

    public String getClassName() {
        return className;
    }

    public String getTitle() {
        return Messages.getLabel(titleKey);
    }

    public String getTitleKey() {
        return titleKey;
    }

    public String getLabelKey() {
        return labelKey;
    }
}
